package com.hbpu.usercenter;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Contact;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;

@Schema
@SpringBootApplication
@ConfigurationProperties(prefix = "spring.datasource")
@EnableScheduling //开启定时任务
@OpenAPIDefinition(
        info = @Info(
                title = "用户中心-伙伴匹配系统 API",
                version = "1.0.0",
                description = "负责用户中心和伙伴匹配系统的后端处理",
                contact = @Contact(
                        name = "可凡"
                )
        )
)
/*
  用户中心-伙伴匹配系统后端
 */
public class UserCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserCenterApplication.class, args);
    }

}
